package com.gitee.cirnochat.notification.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gitee.cirnochat.notification.model.entity.JiguangPushToken;

/**
* @author FlanChan
* @description 针对表【jiguang_push_token(极光推送令牌表)】的数据库操作Service
* @createDate 2025-06-19 17:09:11
*/
public interface JiguangPushTokenService extends IService<JiguangPushToken> {

    void setJPushToken(String registerId, String deviceId, Long userId);

    Boolean checkJPushToken(String deviceId, Long userId);

    JiguangPushToken getJPushTokenByDeviceIdAndUserId(String deviceId, Long userId);
}
